#include "ScoreMenu.h"

ScoreMenu::ScoreMenu() {
}
ScoreMenu::~ScoreMenu() {
}


void ScoreMenu::Initialize(sf::RenderWindow* window){
	m_renderWindow = window;

	m_clock = new sf::Clock();


	m_backgroundTexture = new sf::Texture;
	m_backgroundTexture->loadFromFile("Assets/Images/Menu/GUI_HighScore_Background.png");
	m_backgroundSprite = new sf::Sprite;
	m_backgroundSprite->setTexture(*m_backgroundTexture);
	m_backgroundSprite->setPosition(0.f, 0.f);
	

}

void ScoreMenu::Update(){
	m_deltaTime = m_clock->restart().asSeconds();


	// KinectEnd

	m_renderWindow->draw(*m_backgroundSprite);
	

}

void ScoreMenu::Render(){

}

void ScoreMenu::Cleanup(){
	delete m_backgroundTexture;
	delete m_backgroundSprite;
}